package com.ruoyi.factory.buyprice.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 采购行情wherp物料对象 t_bumawh_erpma_body
 * 
 * @author ljj
 * @date 2024-06-11
 */
public class BumawhErpmaBody extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long id;

    /** 表头id */
    @Excel(name = "表头id")
    private Long bumaHeadId;

    /** ERP系统物料编码 */
    @Excel(name = "ERP系统物料编码")
    private String erpcode;

    /** ERP系统物料名称 */
    @Excel(name = "ERP系统物料名称")
    private String erpname;

    /** ERP系统物料单位 */
    @Excel(name = "ERP系统物料单位")
    private String erpunit;

    /** 物料大类单位/ERP系统物料单位 */
    @Excel(name = "物料大类单位/ERP系统物料单位")
    private String bomundivrawun;

    /** 入库均价计算来源1是 2否 */
    @Excel(name = "入库均价计算来源1是 2否")
    private String countsource;

    /** 选择日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "选择日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date sedate;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private String fgcCreator;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private Date fgcCreatedate;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private String fgcLastmodifier;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private Date fgcLastmodifydate;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private Date fgcRowversion;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private String fgcUpdatehelp;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setBumaHeadId(Long bumaHeadId)
    {
        this.bumaHeadId = bumaHeadId;
    }

    public Long getBumaHeadId()
    {
        return bumaHeadId;
    }
    public void setErpcode(String erpcode) 
    {
        this.erpcode = erpcode;
    }

    public String getErpcode() 
    {
        return erpcode;
    }
    public void setErpname(String erpname) 
    {
        this.erpname = erpname;
    }

    public String getErpname() 
    {
        return erpname;
    }
    public void setErpunit(String erpunit) 
    {
        this.erpunit = erpunit;
    }

    public String getErpunit() 
    {
        return erpunit;
    }
    public void setBomundivrawun(String bomundivrawun) 
    {
        this.bomundivrawun = bomundivrawun;
    }

    public String getBomundivrawun() 
    {
        return bomundivrawun;
    }
    public void setCountsource(String countsource) 
    {
        this.countsource = countsource;
    }

    public String getCountsource() 
    {
        return countsource;
    }
    public void setSedate(Date sedate) 
    {
        this.sedate = sedate;
    }

    public Date getSedate() 
    {
        return sedate;
    }
    public void setFgcCreator(String fgcCreator) 
    {
        this.fgcCreator = fgcCreator;
    }

    public String getFgcCreator() 
    {
        return fgcCreator;
    }
    public void setFgcCreatedate(Date fgcCreatedate) 
    {
        this.fgcCreatedate = fgcCreatedate;
    }

    public Date getFgcCreatedate() 
    {
        return fgcCreatedate;
    }
    public void setFgcLastmodifier(String fgcLastmodifier) 
    {
        this.fgcLastmodifier = fgcLastmodifier;
    }

    public String getFgcLastmodifier() 
    {
        return fgcLastmodifier;
    }
    public void setFgcLastmodifydate(Date fgcLastmodifydate) 
    {
        this.fgcLastmodifydate = fgcLastmodifydate;
    }

    public Date getFgcLastmodifydate() 
    {
        return fgcLastmodifydate;
    }
    public void setFgcRowversion(Date fgcRowversion) 
    {
        this.fgcRowversion = fgcRowversion;
    }

    public Date getFgcRowversion() 
    {
        return fgcRowversion;
    }
    public void setFgcUpdatehelp(String fgcUpdatehelp) 
    {
        this.fgcUpdatehelp = fgcUpdatehelp;
    }

    public String getFgcUpdatehelp() 
    {
        return fgcUpdatehelp;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("bumaHeadId", getBumaHeadId())
            .append("erpcode", getErpcode())
            .append("erpname", getErpname())
            .append("erpunit", getErpunit())
            .append("bomundivrawun", getBomundivrawun())
            .append("countsource", getCountsource())
            .append("sedate", getSedate())
            .append("fgcCreator", getFgcCreator())
            .append("fgcCreatedate", getFgcCreatedate())
            .append("fgcLastmodifier", getFgcLastmodifier())
            .append("fgcLastmodifydate", getFgcLastmodifydate())
            .append("fgcRowversion", getFgcRowversion())
            .append("fgcUpdatehelp", getFgcUpdatehelp())
            .toString();
    }
}
